/*
*  Copyright 2019-2020 Zheng Jie
*
*  Licensed under the Apache License, Version 2.0 (the "License");
*  you may not use this file except in compliance with the License.
*  You may obtain a copy of the License at
*
*  http://www.apache.org/licenses/LICENSE-2.0
*
*  Unless required by applicable law or agreed to in writing, software
*  distributed under the License is distributed on an "AS IS" BASIS,
*  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
*  See the License for the specific language governing permissions and
*  limitations under the License.
*/
package com.fzhucc.modules.notice.domain.dto;

import com.fzhucc.modules.system.service.dto.UserDto;
import lombok.Data;
import java.sql.Timestamp;
import java.io.Serializable;
import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.NotBlank;

/**
* @website https://eladmin.vip
* @description /
* @author yyg
* @date 2022-11-16
**/
@Data
public class NoticeDto implements Serializable {

    @ApiModelProperty("id")
    private Integer id;

    @ApiModelProperty("标题")
    private String title;

    @ApiModelProperty("banner图")
    private String banner;

    @ApiModelProperty("发布时间")
    private Timestamp releaseTime;

    @ApiModelProperty("发文单位")
    private String releaseUnit;

    @ApiModelProperty("内容")
    private String content;

    @ApiModelProperty("显示顺序")
    private Integer sort;

    @ApiModelProperty("简介")
    private String intro;

    @ApiModelProperty("是否小程序展示")
    private Integer isShow;

    @ApiModelProperty("是否假删除")
    private Integer isDelete;

    @ApiModelProperty("假删除时间")
    private Timestamp deleteTime;

    private Long createUserId;

    @ApiModelProperty("创建者")
    private UserDto createUser;

    @ApiModelProperty(value = "内容类型 notice_type")
    private String type;

    @ApiModelProperty(value = "内容链接")
    private String contentUrl;
    /**
     * 区域划分
     */
    @ApiModelProperty(value = "区域划分")
    private String orgArea;

    @ApiModelProperty("地区省市县数组")
    private String[] orgAreas;
}